package com.alm.handle.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
@Data
@TableName("alm_dev_current_data_s")
public class SysDevCurrentData_s {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value ="devid")
    private String devid;

    @TableField(value ="line_no")
    private Integer lineNo;

    @TableField(value ="relayStatus")
    private Integer relayStatus;

    @TableField(value ="workStatus")
    private Integer workStatus;

    @TableField(value ="electric_current")
    private BigDecimal electricCurrent;

    @TableField(value ="power_factor")
    private BigDecimal powerFactor;

    @TableField(value ="energy")
    private BigDecimal energy;

    @TableField(value ="active_power")
    private BigDecimal activePower;

    @TableField(value ="up_version")
    private Integer upVersion;
}
